package com.lml.yunpicturesbackend.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author 梦龙
 * @date 2025/4/9 21:04
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthCheck {

    /**
     * @description: 用户必须具有某个角色
     * @Param:
     * @return: java.lang.String
     * @time: 2025/4/9 21:16
     **/
    String mustRole() default "";
}
